#ifndef LOGINWIDGET_H
#define LOGINWIDGET_H

#include <QWidget>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QLabel>

namespace Ui {
class LoginWidget;
}

class LoginWidget : public QWidget
{
    Q_OBJECT

public:
    explicit LoginWidget(QWidget *parent = 0);
    ~LoginWidget();
private slots:
    void loginBtnSlot();
private:
    Ui::LoginWidget *ui;

    QLabel *label;//头像
    QLineEdit *nameLineEdit;//用户名
    QLineEdit *passwordLineEdit;//密码
    QPushButton *loginBtn;//登录
    QPushButton *registBtn;//注册

    QHBoxLayout *labelLayout;
    QHBoxLayout *checkBoxLayout;
    QVBoxLayout *mainLayout;

};

#endif // LOGINWIDGET_H
